<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>JDDemo</title>
    <style>
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        #mainContainer {
            width: 1055px;
            height: 2000px;
            padding: 0 1px;
            background-color: #ffffff;
            margin: 0 auto;
        }

        #mainContainer>div {
            width: 1053px;
        }

        #topOpenSection {
            height: 100px;
            background-color: #333433;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        #topImageGroup {
            display: flex;
            align-items: center;
        }

       .topOpenIcon01 {
            width: 60px;
            height: 60px;
            background-image: url(https://oss.9ihub.com/test/dh5-close.png);
            background-repeat: no-repeat;
            background-size: auto;
            margin: 0px 20px;
        }

       .topOpenLogo {
            width: 80px;
            height: 80px;
            background-image: url(https://oss.9ihub.com/test/dh5-logo.png);
            background-repeat: no-repeat;
            background-size: auto;
            justify-self: start;
        }

        [class^=topOpen] {
            text-align: center;
            color: white;
            font-size: 30px;
            line-height: 100px;
        }

       .topOpenButton {
            width: 200px;
            background-color: #f43515;
         
        }

        #searchBar {
            height: 100px;
            position: sticky;
            top: 0px;
            background-color: #c30a0b;
            display: flex;
            align-items: center;
            justify-content: space-around;
        }

       .searchIcon {
            margin: 10px;
            background-image: url(https://oss.9ihub.com/test/dh5-jd-sprites.png);
            width: 80px;
            height: 80px;
            background-repeat: no-repeat;
            background-position: 15px -45px;
        }

       .searchInputBox {
            width: 820px;
            height: 60px;
            display: flex;
            margin-left: 10px;
        }

       .searchInput,
       .searchInput>input {
            width: 700px;
            height: 60px;
            border-radius: 0px 50px 50px 0px;
            border: 0;
        }

        #searchButton {
            width: 120px;
            height: 60px;
            background-color: white;
            display: flex;
            align-items: center;
            justify-content: space-around;
            border-radius: 50px 0px 0px 50px;
            padding-left: 10px;
        }

       .searchButtonIcon01 {
            width: 50px;
            height: 30px;
            background-image: url(https://oss.9ihub.com/test/dh5-left-jd.png);
            background-repeat: no-repeat;
            padding-right: 10px;
            border-right: 1px solid grey;
        }

       .searchButtonIcon02 {
            width: 40px;
            height: 30px;
            background-image: url(https://oss.9ihub.com/test/dh5-jd-sprites.png);
            background-repeat: no-repeat;
            background-position: -160px 0;
        }

       .searchInput>input {
            font-size: 25px;
        }

       .loginButton {
            color: white;
            font-size: 30px;
            width: 100px;
            line-height: 60px;
            padding: 10px;
            text-align: center;
        }

        #mainImageSection {
            height: calc(345px + 420px);
            background-color: #c30a0b;
        }

       .mainImage01 {
            width: 1053px;
            height: 420px;
        }

       .mainImageChildGroup {
            margin-top: 10px;
            width: 1053px;
            display: flex;
        }

       .mainImage03>img {
            width: 513px;
            height: 345px;
        }

        #navigationSection {
            width: 1053px;
            height: 340px;
            display: grid;
            grid-template: repeat(2, 1fr)/repeat(4, 1fr);
            align-items: center;
            justify-items: center;
        }

        [class^=navItem] {
            width: 120px;
            height: 150px;
            flex-direction: column;
            justify-content: space-between;
        }

       .navItemIcon {
            width: 120px;
            height: 120px;
            background-image: url(https://oss.9ihub.com/test/dh5-nav1.png);
            background-repeat: no-repeat;
        }

       .navItemLabel {
            width: 120px;
            text-align: center;
            color: grey;
            font-size: 16px;
        }

        #flashSaleSection {
            background-color: white;
            margin-top: 10px;
            height: 250px;
            display: flex;
            flex-direction: column;
        }

       .sectionHeader {
            width: 1053px;
            height: 40px;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

       .headerLeftGroup {
            height: 40px;
            display: flex;
        }

       .headerIcon01 {
            height: 40px;
            width: 40px;
            background-image: url(https://oss.9ihub.com/test/dh5-ms-dc.png);
            background-repeat: no-repeat;
        }

       .headerTitle {
            font-weight: 600;
            font-size: 30px;
            line-height: 40px;
            text-align: center;
        }

       .headerIcon02 {
            height: 24px;
            width: 24px;
            background-image: url(https://oss.9ihub.com/test/dh5-ms-right.png);
            background-repeat: no-repeat;
        }

       .productList {
            display: flex;
            justify-content: space-evenly;
        }

       .productImage {
            width: 150px;
            height: 150px;
            background-image: url(https://oss.9ihub.com/test/jdh5-ms1.jpg);
            background-repeat: no-repeat;
        }

       .productPrice {
            height: 60px;
            width: 150px;
            color: red;
            font-weight: 400;
            text-align: center;
            line-height: 60px;
        }

        #productContentSection {
            margin-top: 10px;
            height: 500px;
            display: flex;
            justify-content: space-evenly;
            margin-bottom: 250px;
        }

       .productContentView {
            width: 360px;
            height: 500px;
            background-image: url(https://oss.9ihub.com/test/jdh5-product1.webp);
            background-repeat: no-repeat;
        }

        #footerSection {
            height: 100px;
            display: flex;
            justify-content: space-evenly;
            align-items: center;
            position: fixed;
            bottom: 0px;
            left: 50%;
            margin-left: -526.5px;
            background-color: #ffffff;
        }

       .footerItem {
            width: auto;
            height: auto;
            text-align: center;
        }
    </style>
</head>

<body>
    <div id="mainContainer">
        <div id="topOpenSection">
            <div id="topImageGroup">
                <div class="topOpenIcon01"></div>
                <div class="topOpenLogo"></div>
            </div>
            <div class="topOpenMessage01">打开京东App，购物更轻松</div>
            <div class="topOpenButton">立即打开</div>
        </div>
        <div id="searchBar">
            <div class="searchIcon"></div>
            <div class="searchInputBox">
                <div id="searchButton">
                    <div class="searchButtonIcon01"></div>
                    <div class="searchButtonIcon02"></div>
                </div>
                <div class="searchInput">
                    <input type="text" name="" id="" placeholder="键盘鼠标套装">
                </div>
            </div>
            <div class="loginButton">登录</div>
        </div>
        <div id="mainImageSection">
            <div class="mainImage01"><img src="https://oss.9ihub.com/test/jdh5-banner.png" alt="Errro"></div>
            <div class="mainImageChildGroup">
                <div class="mainImage02"><img src="https://oss.9ihub.com/test/dh5-nianhuo1.png" alt="Errro"></div>
                <div class="mainImage03"><img src="https://oss.9ihub.com/test/dh5-nianhuo2.png" alt="Errro"></div>
                <div class="mainImage04"><img src="https://oss.9ihub.com/test/jdh5-nianhuo3.png" alt="Errro"></div>
            </div>
        </div>
        <div id="navigationSection">
            <div class="navItem01">
                <div class="navItemIcon"></div>
                <div class="navItemLabel">京东超市</div>
            </div>
            <div class="navItem02">
                <div class="navItemIcon"></div>
                <div class="navItemLabel">京东超市</div>
            </div>
            <div class="navItem03">
                <div class="navItemIcon"></div>
                <div class="navItemLabel">京东超市</div>
            </div>
            <div class="navItem04">
                <div class="navItemIcon"></div>
                <div class="navItemLabel">京东超市</div>
            </div>
            <div class="navItem05">
                <div class="navItemIcon"></div>
                <div class="navItemLabel">京东超市</div>
            </div>
            <div class="navItem06">
                <div class="navItemIcon"></div>
                <div class="navItemLabel">京东超市</div>
            </div>
            <div class="navItem07">
                <div class="navItemIcon"></div>
                <div class="navItemLabel">京东超市</div>
            </div>
            <div class="navItem08">
                <div class="navItemIcon"></div>
                <div class="navItemLabel">京东超市</div>
            </div>
        </div>
        <div id="flashSaleSection">
            <div class="sectionHeader">
                <div class="headerLeftGroup">
                    <div class="headerTitle">京东秒杀&emsp;18</div>
                    <div class="headerIcon01"></div>
                    <div class="headerTitle">更多秒杀</div>
                </div>
                <div class="headerIcon02"></div>
            </div>
            <div class="productList">
                <div class="product">
                    <div class="productImage"></div>
                    <div class="productPrice">￥11.11</div>
                </div>
                <div class="product">
                    <div class="productImage"></div>
                    <div class="productPrice">￥11.11</div>
                </div>
                <div class="product">
                    <div class="productImage"></div>
                    <div class="productPrice">￥11.11</div>
                </div>
                <div class="product">
                    <div class="productImage"></div>
                    <div class="productPrice">￥11.11</div>
                </div>
                <div class="product">
                    <div class="productImage"></div>
                    <div class="productPrice">￥11.11</div>
                </div>
            </div>
        </div>
        <div id="productContentSection">
            <div class="productContentView"></div>
            <div class="productContentView"></div>
        </div>
        <div id="footerSection">
            <div class="footerItem">首页</div>
            <div class="footerItem">分类</div>
            <div class="footerItem">京喜</div>
            <div class="footerItem">购物车</div>
            <div class="footerItem">未登录</div>
        </div>
    </div>
</body>

</html>